home *** CD-ROM | disk | FTP | other *** search
- public class ClassWraith extends Codex {
- public void created(int guid) {
- CodexThing spectralThing = new CodexThing(((Codex)this).GetClassThing());
- if (spectralThing != null) {
- int trailGuid = spectralThing.SpawnThing("trail_spectral");
- int rfingersGuid = spectralThing.SpawnThing("trail_spectralHands");
- int lfingersGuid = spectralThing.SpawnThing("trail_spectralHands");
- int boneNum0 = spectralThing.FindBone(35);
- int boneNum1 = spectralThing.FindBone(25);
- int boneNum2 = spectralThing.FindBone(30);
- float[] offset0 = new float[3];
- float[] offset1 = new float[3];
- float[] offset2 = new float[3];
- offset0 = spectralThing.FindBoneOffset(35);
- offset1 = spectralThing.FindBoneOffset(25);
- offset2 = spectralThing.FindBoneOffset(30);
- spectralThing.AttachThing(trailGuid, boneNum0, offset0, 1);
- spectralThing.AttachThing(rfingersGuid, boneNum1, offset1, 1);
- spectralThing.AttachThing(lfingersGuid, boneNum2, offset2, 1);
- }
-
- }
- }
-